package com.yhou.sharding.service;

import com.yhou.sharding.po.User;

import java.util.List;

/**
 * @author houyong
 * @ProjectName sharding_demo
 * @Description:
 * @date 2018/11/16 上午11:20
 */
public interface IUserService {

    User findOne(Long id);

    int save(User user);

    int bacthsave(List<User> list);
}
